<h1><a href="/">nightly.link</a></h1>
<h2><%= HTML.escape(title[0]) %></h2>
<h3><%= HTML.escape(title[1]) %></h3>
<% {false, true}.each do |ext| %>
  <% if ext %>
    <p>Pages on GitHub:</p>
  <% else %>
    <p>You can access this artifact by one of the following links, in the order from least to most direct:</p>
  <% end %>
  <ul>
    <% links.each_with_index do |link, i| %>
      <% if link.ext == ext %>
        <li>
          <% if !ext && i == 0 %><b><% end %>
          <a rel="nofollow" href="<%= HTML.escape(link.url) %>"<% if link.ext %> target="_blank"<% end %>><%= HTML.escape(link.title) %></a>
          <% if !ext && i == 0 %></b><% end %>
        </li>
      <% end %>
    <% end %>
  </ul>
<% end %>
